import request from '../until/request.js'

// 获取我的资金

export const MyProperty = () =>
{
    return request({
        url: '/my/property',
        methods: 'get',
    })
}

//资产-充值
export const MyRecharge = (data) =>
{
    return request({
        url: '/my/recharge',
        methods: 'post',
        data: data
    })
}

//资产-提现
export const MyWithdraw = (data) =>
{
    return request({
        url: '/my/withdraw',
        methods: 'post',
        data: data
    })
}

//资产-动态
export const MyDynamic = (data) =>
{
    return request({
        url: '/my/transfer_cash',
        methods: 'post',
        data: data
    })
}

//资产-cc
export const MyCC = (data) =>
{
    return request({
        url: '/my/cc_transfer_cash',
        methods: 'post',
        data: data
    })
}

//资产 my/staking_transfer_cash
export const MyStaking = (data) =>
{
    return request({
        url: '/my/staking_transfer_cash',
        methods: 'post',
        data: data
    })
}

//资产 my/bonus_transfer_cash
export const MyBonus = (data) =>
{
    return request({
        url: '/my/bonus_transfer_cash',
        methods: 'post',
        data: data
    })
}

//资产-my/staking_pledge
export const MyStakingPledge = (data) =>
{
    return request({
        url: '/my/staking_pledge',
        methods: 'post',
        data: data
    })
}

//资产-my/bonus_pledge
export const MyBonusPledge = (data) =>
{
    return request({
        url: '/my/bonus_pledge',
        methods: 'post',
        data: data
    })
}

//资产-my/pledge_transfer_friend
export const MyPledgeTransferFriend = (data) =>
{
    return request({
        url: '/my/pledge_transfer_friend',
        methods: 'post',
        data: data
    })
}